package com.topisv.tms.entity.lightShelf;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.topisv.tms.entity.IdEntity;

/**
 * 灯光架上架明细
 * @author ch
 *
 */
@Entity
@Table(name = "lightshelf_stock_sku")
public class LightShelfStockSku extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private LightShelf lightShelf;
	
	private LightShelfStock stock;
	
	private String sku;
	
	private Integer num;
	
	private String upStatus;
	
	private String batchCode;
	
	private String taskCode;
	

	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	public String getTaskCode() {
		return taskCode;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	@ManyToOne
	@JoinColumn(name="shelf_id")
	public LightShelf getLightShelf() {
		return lightShelf;
	}

	public void setLightShelf(LightShelf lightShelf) {
		this.lightShelf = lightShelf;
	}

	@ManyToOne
	@JoinColumn(name="stock_id")
	public LightShelfStock getStock() {
		return stock;
	}

	public void setStock(LightShelfStock stock) {
		this.stock = stock;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getUpStatus() {
		return upStatus;
	}

	public void setUpStatus(String upStatus) {
		this.upStatus = upStatus;
	}
	
	
	
}